package com.stock.api.domain.stock;

import java.math.BigDecimal;
import java.util.Date;

public class StockHistoryBean {
    /**
     *  主键,所属表字段为stock_history.id
     */
    private Long id;

    /**
     *  股票代码,所属表字段为stock_history.stock_code
     */
    private String stockCode;

    /**
     *  日期,所属表字段为stock_history.stock_date
     */
    private String stockDate;

    /**
     *  昨日收盘价,所属表字段为stock_history.yesterday_close_price
     */
    private BigDecimal yesterdayClosePrice;

    /**
     *  今日开盘价,所属表字段为stock_history.open_price
     */
    private BigDecimal openPrice;

    /**
     *  今日收盘价,所属表字段为stock_history.close_price
     */
    private BigDecimal closePrice;

    /**
     *  涨跌额,所属表字段为stock_history.upsAnd_downs
     */
    private BigDecimal upsandDowns;

    /**
     *  涨跌幅,所属表字段为stock_history.change_rate
     */
    private BigDecimal changeRate;

    /**
     *  最低价,所属表字段为stock_history.lowest_amnout
     */
    private BigDecimal lowestAmnout;

    /**
     *  最高价,所属表字段为stock_history.highest_amount
     */
    private BigDecimal highestAmount;

    /**
     *  成交量,所属表字段为stock_history.stock_volume
     */
    private BigDecimal stockVolume;

    /**
     *  总成交额,所属表字段为stock_history.total_turnover
     */
    private BigDecimal totalTurnover;

    /**
     *  换手率,所属表字段为stock_history.turnover_rate
     */
    private BigDecimal turnoverRate;

    /**
     *  创建时间,所属表字段为stock_history.create_time
     */
    private Date createTime;

    /**
     *  状态,所属表字段为stock_history.status
     */
    private String status;

    /**
     * 获取 主键 字段:stock_history.id
     *
     * @return stock_history.id, 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 主键 字段:stock_history.id
     *
     * @param id stock_history.id, 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 股票代码 字段:stock_history.stock_code
     *
     * @return stock_history.stock_code, 股票代码
     */
    public String getStockCode() {
        return stockCode;
    }

    /**
     * 设置 股票代码 字段:stock_history.stock_code
     *
     * @param stockCode stock_history.stock_code, 股票代码
     */
    public void setStockCode(String stockCode) {
        this.stockCode = stockCode == null ? null : stockCode.trim();
    }

    /**
     * 获取 日期 字段:stock_history.stock_date
     *
     * @return stock_history.stock_date, 日期
     */
    public String getStockDate() {
        return stockDate;
    }

    /**
     * 设置 日期 字段:stock_history.stock_date
     *
     * @param stockDate stock_history.stock_date, 日期
     */
    public void setStockDate(String stockDate) {
        this.stockDate = stockDate == null ? null : stockDate.trim();
    }

    /**
     * 获取 昨日收盘价 字段:stock_history.yesterday_close_price
     *
     * @return stock_history.yesterday_close_price, 昨日收盘价
     */
    public BigDecimal getYesterdayClosePrice() {
        return yesterdayClosePrice;
    }

    /**
     * 设置 昨日收盘价 字段:stock_history.yesterday_close_price
     *
     * @param yesterdayClosePrice stock_history.yesterday_close_price, 昨日收盘价
     */
    public void setYesterdayClosePrice(BigDecimal yesterdayClosePrice) {
        this.yesterdayClosePrice = yesterdayClosePrice;
    }

    /**
     * 获取 今日开盘价 字段:stock_history.open_price
     *
     * @return stock_history.open_price, 今日开盘价
     */
    public BigDecimal getOpenPrice() {
        return openPrice;
    }

    /**
     * 设置 今日开盘价 字段:stock_history.open_price
     *
     * @param openPrice stock_history.open_price, 今日开盘价
     */
    public void setOpenPrice(BigDecimal openPrice) {
        this.openPrice = openPrice;
    }

    /**
     * 获取 今日收盘价 字段:stock_history.close_price
     *
     * @return stock_history.close_price, 今日收盘价
     */
    public BigDecimal getClosePrice() {
        return closePrice;
    }

    /**
     * 设置 今日收盘价 字段:stock_history.close_price
     *
     * @param closePrice stock_history.close_price, 今日收盘价
     */
    public void setClosePrice(BigDecimal closePrice) {
        this.closePrice = closePrice;
    }

    /**
     * 获取 涨跌额 字段:stock_history.upsAnd_downs
     *
     * @return stock_history.upsAnd_downs, 涨跌额
     */
    public BigDecimal getUpsandDowns() {
        return upsandDowns;
    }

    /**
     * 设置 涨跌额 字段:stock_history.upsAnd_downs
     *
     * @param upsandDowns stock_history.upsAnd_downs, 涨跌额
     */
    public void setUpsandDowns(BigDecimal upsandDowns) {
        this.upsandDowns = upsandDowns;
    }

    /**
     * 获取 涨跌幅 字段:stock_history.change_rate
     *
     * @return stock_history.change_rate, 涨跌幅
     */
    public BigDecimal getChangeRate() {
        return changeRate;
    }

    /**
     * 设置 涨跌幅 字段:stock_history.change_rate
     *
     * @param changeRate stock_history.change_rate, 涨跌幅
     */
    public void setChangeRate(BigDecimal changeRate) {
        this.changeRate = changeRate;
    }

    /**
     * 获取 最低价 字段:stock_history.lowest_amnout
     *
     * @return stock_history.lowest_amnout, 最低价
     */
    public BigDecimal getLowestAmnout() {
        return lowestAmnout;
    }

    /**
     * 设置 最低价 字段:stock_history.lowest_amnout
     *
     * @param lowestAmnout stock_history.lowest_amnout, 最低价
     */
    public void setLowestAmnout(BigDecimal lowestAmnout) {
        this.lowestAmnout = lowestAmnout;
    }

    /**
     * 获取 最高价 字段:stock_history.highest_amount
     *
     * @return stock_history.highest_amount, 最高价
     */
    public BigDecimal getHighestAmount() {
        return highestAmount;
    }

    /**
     * 设置 最高价 字段:stock_history.highest_amount
     *
     * @param highestAmount stock_history.highest_amount, 最高价
     */
    public void setHighestAmount(BigDecimal highestAmount) {
        this.highestAmount = highestAmount;
    }

    /**
     * 获取 成交量 字段:stock_history.stock_volume
     *
     * @return stock_history.stock_volume, 成交量
     */
    public BigDecimal getStockVolume() {
        return stockVolume;
    }

    /**
     * 设置 成交量 字段:stock_history.stock_volume
     *
     * @param stockVolume stock_history.stock_volume, 成交量
     */
    public void setStockVolume(BigDecimal stockVolume) {
        this.stockVolume = stockVolume;
    }

    /**
     * 获取 总成交额 字段:stock_history.total_turnover
     *
     * @return stock_history.total_turnover, 总成交额
     */
    public BigDecimal getTotalTurnover() {
        return totalTurnover;
    }

    /**
     * 设置 总成交额 字段:stock_history.total_turnover
     *
     * @param totalTurnover stock_history.total_turnover, 总成交额
     */
    public void setTotalTurnover(BigDecimal totalTurnover) {
        this.totalTurnover = totalTurnover;
    }

    /**
     * 获取 换手率 字段:stock_history.turnover_rate
     *
     * @return stock_history.turnover_rate, 换手率
     */
    public BigDecimal getTurnoverRate() {
        return turnoverRate;
    }

    /**
     * 设置 换手率 字段:stock_history.turnover_rate
     *
     * @param turnoverRate stock_history.turnover_rate, 换手率
     */
    public void setTurnoverRate(BigDecimal turnoverRate) {
        this.turnoverRate = turnoverRate;
    }

    /**
     * 获取 创建时间 字段:stock_history.create_time
     *
     * @return stock_history.create_time, 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间 字段:stock_history.create_time
     *
     * @param createTime stock_history.create_time, 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 状态 字段:stock_history.status
     *
     * @return stock_history.status, 状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置 状态 字段:stock_history.status
     *
     * @param status stock_history.status, 状态
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }
}